import axios from 'axios'

// 后端base_url
let host = 'http://127.0.0.1:8000';

// 天气数据接口
export const getWeather = params => { return axios.get(`${host}/get_weather`)}
// 传感器PM25
export const getPM25 = params => { return axios.get(`${host}/get_pm25`)}
export const getPMALL = params => { return axios.get(`${host}/get_pm_all`)}
